﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;


using ZhimeiSoft.Framework.Client.Base;
using ZhimeiSoft.CharmManager.DOL;
using ZhimeiSoft.Framework.Client.Utils;
using ZhimeiSoft.CharmManager.Client.Manager;
using ZhimeiSoft.CharmManager.Client.Interface;

namespace ZhimeiSoft.CharmManager.Client.Forms.Control.ToDoList
{
    public partial class frmToDoListInfo : FormBase
    {
        private DBEntityToDoList todoListInfo = null;
        private DataSet dsEmployeeInfo;
        public frmToDoListInfo(DataSet dsEmployee):base()
        {
            InitializeComponent();
            this.dsEmployeeInfo = dsEmployee;
        }
        public frmToDoListInfo(DataSet dsEmployee, DBEntityToDoList todoList)
            :this(dsEmployee)
        {
            todoListInfo = (DBEntityToDoList)todoList.Clone();

        }
        private void frmToDoListInfo_Shown(object sender, EventArgs e)
        {
            toDoListInfoControl.InitDateControl(DateTime.Now, dsEmployeeInfo, todoListInfo);
        }
    }
}
